<?php
$checklogin = 1;
require_once('includes/header.inc.php');
?>
<?php
require_once('classes/sessiontransaction.php');
$include = true;

$error = "";

$trans = SessionTransaction::getInstance();
$trans->setSessions();

if($trans->order!=""&&$trans->order!=0) {
	$error = Transaction::controlTransaction($trans);
	if($error=="")
		require_once('pay2_known_receiver.php');
	else
		echo "<p>".$error."</p>";
} else
	require_once('pay2_no_receiver.php');
?>
<?php
require_once('includes/footer.inc.php');
?>